package xin.ctkqiang;

import javax.annotation.PostConstruct;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableConfigurationProperties(StealthProperties.class)
public class AutoConfiguration {
    @Bean
    public WuLaiService wulaiService(StealthProperties properties) {
        return new WuLaiService(properties);
    }

    @PostConstruct
    public void init() {
    }
}
